package com.zhengyisky.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class News {

    private Integer id;

    private String title;

    private String author;

    private String pic;

    private Integer status;

    private String reason;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime;

    private Date approveTime;

    private Integer typeId;

    private String name;
}
